<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0 ,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<title>结算页面</title>
		<base href="${pageContext.request.contextPath }/"/>
		<jsp:include page="/head.jsp"/>
		<link href="front/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />

		<link href="front/basic/css/demo.css" rel="stylesheet" type="text/css" />
		<link href="front/css/cartstyle.css" rel="stylesheet" type="text/css" />

		<link href="front/css/jsstyle.css" rel="stylesheet" type="text/css" />
		<link href="front/css/index.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript" src="front/js/address.js"></script>

	</head>

	<body>

		<!--顶部导航条 -->
		<div class="am-container header">
				<ul class="message-l">
					<div class="topMessage">
						<div class="menu-hd">
							<a href="login1.jsp" target="_top" class="h"> 你好 !</a>
							<a href="register.jsp" target="_top" style="color: #F03726;"></a>
						</div>
					</div>
				</ul>
				<ul class="message-r">
					<div class="topMessage home">
						<div class="menu-hd"><a href="mall-list.let" target="_top" class="h">商城首页</a></div>
					</div>
					<div class="topMessage my-shangcheng">
						<div class="menu-hd MyShangcheng"><a href="user/index.jsp" target="_top"><i class="am-icon-user am-icon-fw" style="color: #F03726;"></i>个人中心</a></div>
					</div>
					<div class="topMessage mini-cart">
						<div class="menu-hd"><a id="mc-menu-hd" href="mall-cart.let" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
					</div>
					<div class="topMessage favorite">
						<div class="menu-hd"><a href="login1.jsp" target="_top"><i class="am-icon-heart am-icon-fw"></i><span>收藏夹</span></a></div>
				</ul>
		</div>
			<div class="clear"></div>
			<div class="concent">
				<!--地址 -->
				<div class="paycont">
				<form name="addressForm" method="post" action="mall-cart.let?action=pay">
					<div class="address">
						<h3>确认收货地址 </h3>
						<div class="control">
							<a href="user/person-address.jsp" class="tc-btn createAddr theme-login am-btn am-btn-danger">使用新地址</a>
						</div>
						<div class="clear"></div>
						<% 
						for(String name : request.getParameterMap().keySet()){
							String[] values = request.getParameterValues(name);
							for(String value : values){
								out.print(String.format("<input type=\"hidden\" name=\"%s\" value=\"%s\" />", name,value));
							}
						}
						%>
						<ul>
							<div class="per-border"></div>

					<div id="list" >
						<div class="row" style=" background:#FFF8DC; margin-bottom: 1em;border:2px solid red " >
							<div class="col-sm-5">
								收件人：<span style="font-weight: bold;" class="_addressName"></span><br />
								联系电话：<span class="_addressTel"></span> 邮编：<span
									class="_addressZip"></span>
							</div>
							<div class="col-sm-6">
								收件地址：<span style="font-weight: bold;"
									class="text-bold _addressCode"></span><br /> 详细地址：<span
									class="_addressInfo"></span>
							</div>
							<div class="col-sm-1">
								<input style="margin-top: 1em" name="addressId" type="radio"
									value="" />
							</div>
						</div>
					</div>
					<div class="per-border"></div>
							

						</ul>

						<div class="clear"></div>
					</div>
					<!--物流 -->
					<div class="logistics">
						<h3>选择物流方式</h3>
						<ul class="op_express_delivery_hot">
							<li data-value="yuantong" class="OP_LOG_BTN  "><i class="c-gap-right" style="background-position:0px -468px"></i>圆通<span></span></li>
							<li data-value="shentong" class="OP_LOG_BTN  "><i class="c-gap-right" style="background-position:0px -1008px"></i>申通<span></span></li>
							<li data-value="yunda" class="OP_LOG_BTN  "><i class="c-gap-right" style="background-position:0px -576px"></i>韵达<span></span></li>
							<li data-value="zhongtong" class="OP_LOG_BTN op_express_delivery_hot_last "><i class="c-gap-right" style="background-position:0px -324px"></i>中通<span></span></li>
							<li data-value="shunfeng" class="OP_LOG_BTN  op_express_delivery_hot_bottom"><i class="c-gap-right" style="background-position:0px -180px"></i>顺丰<span></span></li>
						</ul>
					</div>
					<div class="clear"></div>

					<!--支付方式-->
					<div class="logistics">
						<h3>选择支付方式</h3>
						<ul class="pay-list">
							<li class="pay card"><img src="front/images/wangyin.jpg" />银联<span></span></li>
							<li class="pay qq"><img src="front/images/weizhifu.jpg" />微信<span></span></li>
							<li class="pay taobao"><img src="front/images/zhifubao.jpg" />支付宝<span></span></li>
						</ul>
					</div>
					<div class="clear"></div>

					<!--订单 -->
					
							<div class="clear"></div>
							<div class="pay-total">
						<!--留言-->
							<div class="order-extra">
								<div class="order-user-info">
									<div id="holyshit257" class="memo">
										<label>买家留言：</label>
										<input type="text" name="orderMemo" title="选填,对本次交易的说明（建议填写已经和卖家达成一致的说明）" placeholder="选填,建议填写和卖家达成一致的说明" class="memo-input J_MakePoint c2c-text-default memo-close">
										<div class="msg hidden J-msg">
											<p class="error">最多输入500个字符</p>
										</div>
									</div>
								</div>

							</div>
							<!--优惠券 -->
				
							</div>
							

							<!--信息 -->
							<div class="order-go clearfix">
								<div class="pay-confirm clearfix">
									<div class="box">
										<div tabindex="0" id="holyshit267" class="realPay"><em class="t">实付款：</em>
											<span class="price g_price ">
                                    <span>¥</span> <em class="style-large-bold-red " id="count">${t.formatNumber(0+param.count,2) }</em>
											</span>
										</div>

										
									</div>

									<div id="holyshit269" class="submitOrder">
										<div class="go-btn-wrap">
											<button id="J_Go" id="submitBtn" class="btn btn-danger" tabindex="0" title="点击此按钮，提交订单">提交订单</button>
										</div>
									</div>
									<div class="clear"></div>
								</div>
							</div>
							</form>
						</div>
						<script type="text/javascript">
	sys.list({
		show:"#list",
		url:"mall-address.let",
		format:function(item,data){
			item.find('[name="addressId"]').val(data.addressId).prop("checked",data.addressDefault);
			$.get(
				"areas.let?action=name&id="+data.addressCode,
				function(data){
					item.find("._addressCode").text(data);
				},"json"	
			);
		}
	});
	$(document.forms.addressForm).submit(function(){
		if(this.addressId==undefined){
			sys.toastr.error("请先进入收货地址管理，再选择一个地址！");
			return false;
		}else{
			return true;
		}
	});
	</script>

						<div class="clear"></div>
					</div>
				</div>
				<div class="footer ">
						<div class="footer-hd ">
							<p>
								<a href="about.let?name=1278551338296279040 ">舒心购</a>
								<b>|</b>
								<a href="mall-list.let">商城首页</a>
							</p>
						</div>
						<div class="footer-bd ">
							<p>
								<a href="about.let?name=1278551338296279040 ">关于舒心购</a>
								<b>|</b>
								<a href="join.let?name=1278551338526965760 ">联系我们</a>
								<b>|</b>
								<em>© 2020-2025 shuxingou.com 版权所有</em>
							</p>
						</div>
					</div>
			</div>
		
			

			
	</body>

</html>